<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>
  <link rel="stylesheet" href="<%= BASE_URL %>static/style/loading.css">

  <script>

    var _hmt = _hmt || [];
    (function () {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?7174bade1219f9cc272e7978f9523fc8";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
    window._AMapSecurityConfig = {
      securityJsCode: '07de1684b2516c5823302ff7a45ec34d',
    }
  </script>
</head>

<body>
  <noscript>
    <strong>
      We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to continue.
    </strong>
  </noscript>

  <!-- 白屏loading -->
  <div class="loading-wrapper">
    <div class="rotate">
      <!-- <a-spin size="large" /> -->
    </div>
    <div class="project-title">
      <div class="first-loading-wrp">
        <div class="loading-wrp">
          <span class="dot dot-spin">
            <i></i>
            <i></i>
            <i></i>
            <i></i>
          </span>
        </div>
        <div
        class="loading-title"
        style="
          font-family: 'pangmenzhengdaoregular';
          background: var(--m-primary-color, #266bf4)
            linear-gradient(0deg, var(--m-primary-color, #266bf4) 43%, #269bff 86%);
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
          font-size: 0.35rem;
          letter-spacing: 1.5px;
          display: flex;
          justify-content: center;
          align-items: center;
        "
      ></div>
      </div>

    </div>
  </div>

  <div id="app"> </div>
  <script>
    document.querySelector('.loading-title').innerHTML = location.pathname.includes('jtqg')
      ? '智慧路网云控平台'
      : '协同指挥调度平台'
  </script>

</body>

</html>